package second;

public class Main {
	public static void main(String[] args) {
		A a = new A();
		a.saveFile("Test",2);
		B b = new B();
		b.saveFile("Test",3);
		IR[] item={a,b};
		for(IR i: item)
		{
			i.saveFile("test2",4);
			
		}
		
	}

}
